fullscreenmode
Type
property
Summary
Sets the full screen scaling mode of a stack.
Syntax
set the fullscreenmode of <stack> to {empty|"exactFit"|"letterbox"|"noBorder"|"noScale"|"showAll"}
Description
Use the fullscreenmode property to choose the most appropriate full screen scaling mode for the application.
There are multiple ways in which a stack can be resized or scaled to take full advantage of the available screen space. fullscreenmode allows the developer to choose the most appropriate resizing or scaling for their application.
The fullscreenmode only takes affect when a stack is full screen. This is the case on mobile platforms where stacks are always full screen, or on the desktop when the fullscreen property of the stack is set to true.
The full screen scaling mode is available on all desktop and mobile platforms and operates independently from Hi-DPI support.
Examples
set the fullscreenmode of this stack to empty
set the fullscreenmode of this stack to "noScale"
# In a mobile app the fullscreenmode is often set as the stack opens:
on preOpenStack
set the fullscreenmode of this stack to "letterbox"
end preOpenStack
-- In a desktop application the fullscreenmode should be set before going to fullscreen:
on mouseUp
set the fullscreenmode of this stack to "showAll"
set the fullscreen of this stack to true
end mouseUp
Related
constant: empty
property: fullscreen
Compatibility and Support
Introduced
LiveCode 6.5
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile